package city.spring.modules.oldman.service;

import city.spring.modules.oldman.entity.ComplaintReceiverExtEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * Service：投诉-受理人联系表
 *
 * @author pxm
 * @date 2020-07-20 16:56:39
 */
public interface ComplaintReceiverExtService extends IService<ComplaintReceiverExtEntity> {
    String CACHE_NAME = "complaint_receiver_ext";

    /**
     * 业务处理：保存一个 <strong>投诉-受理人联系表</strong>
     *
     * @param entity 投诉-受理人联系表
     */
    void saveComplaintReceiverExt(ComplaintReceiverExtEntity entity);

    /**
     * 业务处理：修改一个 <strong>投诉-受理人联系表</strong>
     *
     * @param entity 投诉-受理人联系表
     */
    void updateComplaintReceiverExt(ComplaintReceiverExtEntity entity);

    /**
     * 业务处理：删除一个 <strong>投诉-受理人联系表</strong>
     *
     * @param primaryKey 主键ID
     */
    void deleteComplaintReceiverExt(String primaryKey);

    /**
     * 业务处理：删除多个 <strong>投诉-受理人联系表</strong>
     *
     * @param primaryKeys 主键ID列表
     */
    void deleteComplaintReceiverExt(List<String> primaryKeys);
}